.class Lcom/example/m6wmr/BalanceParticularActivity$1;
.super Landroid/os/Handler;
.source "BalanceParticularActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/BalanceParticularActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/BalanceParticularActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/BalanceParticularActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    .line 123
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 20
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 127
    invoke-super/range {p0 .. p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 128
    move-object/from16 v0, p1

    iget v0, v0, Landroid/os/Message;->what:I

    move/from16 v16, v0

    packed-switch v16, :pswitch_data_0

    .line 193
    :cond_0
    :goto_0
    :pswitch_0
    return-void

    .line 130
    :pswitch_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v16, v0

    # invokes: Lcom/example/m6wmr/BalanceParticularActivity;->onLoad()V
    invoke-static/range {v16 .. v16}, Lcom/example/m6wmr/BalanceParticularActivity;->access$2(Lcom/example/m6wmr/BalanceParticularActivity;)V

    .line 131
    const-string v16, ">>>>>>>>>>>>>>>>>>>>>>"

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v17, v0

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->urlString:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/example/m6wmr/BalanceParticularActivity;->access$3(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/lang/String;

    move-result-object v17

    invoke-static/range {v16 .. v17}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 133
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v16, v0

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->getJsonString:Ljava/lang/String;
    invoke-static/range {v16 .. v16}, Lcom/example/m6wmr/BalanceParticularActivity;->access$4(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/lang/String;

    move-result-object v16

    const-string v17, ""

    invoke-virtual/range {v16 .. v17}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v16

    if-nez v16, :cond_0

    .line 139
    :try_start_0
    new-instance v10, Lorg/json/JSONObject;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v16, v0

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->getJsonString:Ljava/lang/String;
    invoke-static/range {v16 .. v16}, Lcom/example/m6wmr/BalanceParticularActivity;->access$4(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/lang/String;

    move-result-object v16

    move-object/from16 v0, v16

    invoke-direct {v10, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 140
    .local v10, "jsonObject":Lorg/json/JSONObject;
    const-string v16, "msg"

    move-object/from16 v0, v16

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v9

    .line 144
    .local v9, "jsonArray":Lorg/json/JSONArray;
    const/4 v7, 0x0

    .local v7, "i":I
    :goto_1
    invoke-virtual {v9}, Lorg/json/JSONArray;->length()I

    move-result v16

    move/from16 v0, v16

    if-lt v7, v0, :cond_1

    .line 171
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v16, v0

    new-instance v17, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v18, v0

    const/16 v19, 0x0

    invoke-direct/range {v17 .. v19}, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;-><init>(Lcom/example/m6wmr/BalanceParticularActivity;Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;)V

    invoke-static/range {v16 .. v17}, Lcom/example/m6wmr/BalanceParticularActivity;->access$5(Lcom/example/m6wmr/BalanceParticularActivity;Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;)V

    .line 172
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v16, v0

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->xl_balance:Lcom/wmr/Lstview/XListView;
    invoke-static/range {v16 .. v16}, Lcom/example/m6wmr/BalanceParticularActivity;->access$6(Lcom/example/m6wmr/BalanceParticularActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v16

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v17, v0

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->adapter:Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;
    invoke-static/range {v17 .. v17}, Lcom/example/m6wmr/BalanceParticularActivity;->access$7(Lcom/example/m6wmr/BalanceParticularActivity;)Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;

    move-result-object v17

    invoke-virtual/range {v16 .. v17}, Lcom/wmr/Lstview/XListView;->setAdapter(Landroid/widget/ListAdapter;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 175
    .end local v7    # "i":I
    .end local v9    # "jsonArray":Lorg/json/JSONArray;
    .end local v10    # "jsonObject":Lorg/json/JSONObject;
    :catch_0
    move-exception v6

    .line 177
    .local v6, "e":Lorg/json/JSONException;
    invoke-virtual {v6}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    .line 146
    .end local v6    # "e":Lorg/json/JSONException;
    .restart local v7    # "i":I
    .restart local v9    # "jsonArray":Lorg/json/JSONArray;
    .restart local v10    # "jsonObject":Lorg/json/JSONObject;
    :cond_1
    :try_start_1
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v11

    .line 149
    .local v11, "jsonObject2":Lorg/json/JSONObject;
    const-string v16, "id"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    .line 150
    .local v8, "id":Ljava/lang/String;
    const-string v16, "userid"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v15

    .line 151
    .local v15, "userid":Ljava/lang/String;
    const-string v16, "type"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v14

    .line 152
    .local v14, "type":Ljava/lang/String;
    const-string v16, "addtype"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 153
    .local v3, "addtype":Ljava/lang/String;
    const-string v16, "result"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v12

    .line 154
    .local v12, "result":Ljava/lang/String;
    const-string v16, "addtime"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 155
    .local v2, "addtime":Ljava/lang/String;
    const-string v16, "content"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 156
    .local v5, "content":Ljava/lang/String;
    const-string v16, "title"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v13

    .line 157
    .local v13, "title":Ljava/lang/String;
    const-string v16, "acount"

    move-object/from16 v0, v16

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 159
    .local v1, "acount":Ljava/lang/String;
    new-instance v4, Lbean/BalanceParticularBean;

    invoke-direct {v4}, Lbean/BalanceParticularBean;-><init>()V

    .line 160
    .local v4, "bean":Lbean/BalanceParticularBean;
    invoke-virtual {v4, v2}, Lbean/BalanceParticularBean;->setAddtime(Ljava/lang/String;)V

    .line 161
    invoke-virtual {v4, v12}, Lbean/BalanceParticularBean;->setResult(Ljava/lang/String;)V

    .line 162
    invoke-virtual {v4, v3}, Lbean/BalanceParticularBean;->setType(Ljava/lang/String;)V

    .line 164
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/BalanceParticularActivity$1;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    move-object/from16 v16, v0

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->beans:Ljava/util/List;
    invoke-static/range {v16 .. v16}, Lcom/example/m6wmr/BalanceParticularActivity;->access$0(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/util/List;

    move-result-object v16

    move-object/from16 v0, v16

    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    .line 144
    add-int/lit8 v7, v7, 0x1

    goto/16 :goto_1

    .line 128
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
